<template>
  <div>
    <swiper :data="result.data" />
  </div>
</template>
<script setup>
import { onMounted, reactive } from "vue";
import { $http } from "@/utils/Request/index.js";
import swiper from "./components/swiper.vue";

const result = reactive({
  data: {},
});

onMounted(async () => {
  let res = await $http.get("goods/getIndexInfo");
  result.data = res;
  console.log(result.data);
});
</script>
<style></style>
